<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script>
    // 输出1到10之间的数字
    var i = 1;
    while (i <= 10) {
      i++;
      console.log(i);
    }
  </script>
</head>
<body>
  
</body>
</html>